package com.cskaoyan.service.wx.lghc;

import com.cskaoyan.module.bean.vo.VxShopCartCheckoutVO;
import com.cskaoyan.module.bean.vo.VxShopCartIndexVO;
import com.cskaoyan.module.bean.vo.VxShopCartInnerIndexVO;
import com.cskaoyan.module.bo.VxShopCartAddBO;
import com.cskaoyan.module.bo.VxShopCartFastAddBO;
import com.cskaoyan.module.bo.VxShopCartUpdateBO;
import com.cskaoyan.module.bo.VxShopcartCheckedOutBO;
import com.cskaoyan.module.pojo.MarketCart;

import java.util.List;

public interface VxShopCartService {
    VxShopCartIndexVO indexShopCart(VxShopCartIndexVO vxShopCartIndexVO, MarketCart marketCart, VxShopCartInnerIndexVO vxShopCartInnerIndexVO, Integer id);

    int goodsCount();


    VxShopCartIndexVO goodsChech(List<Integer> productIds, Integer isChecked);

    void goodsUpdate(VxShopCartUpdateBO shopCartUpdateBO);

    int shopCartAdd(VxShopCartAddBO vxShopCartAddBO, Integer id);

    VxShopCartIndexVO deleteShopCart(List<Integer> productIds);

    VxShopCartCheckoutVO checkedOut(VxShopcartCheckedOutBO vxShopcartCheckedOutBO, Integer id);

    int fastAdd(VxShopCartFastAddBO vxShopCartFastAddBO, Integer id);
}
